//引入http模块
const http = require("http");

//引入router
const router = require("./model/router.js");

http.createServer(function (request, response) {
    router.statics(request, response, "static");

}).listen(8080);

